You should check what rstrip(',') does. It strips the , characters from the string starting from the right until a character not equal to ... ... <看更多>
Search
Search
You should check what rstrip(',') does. It strips the , characters from the string starting from the right until a character not equal to ... ... <看更多>
... <看更多>
rstrip. Description. Returns a copy of the string with trailing characters removed. Syntax. str. rstrip([chars]). chars: Optional. String specifying the set ... ... <看更多>